import { createPinia } from 'pinia'
//持久化插件
import persist from 'pinia-plugin-persistedstate'
const pinia = createPinia()
//注册使用持久化插件
pinia.use(persist)
//统一导出，出口唯一
export * from './modules/user'
export default pinia